<template>
	<view class="content">
		<view class="banner">
			<u-swiper  :list="list"  indicator  indicatorMode="line" height="600" indicatorActiveColor="#fff" indicatorInactiveColor="rgba(165, 165, 165, .4)" radius="0" circular></u-swiper>
		 </view>
		 <view class="button" @click="handleToSubmit">
		 	加入我们
		 </view>
	</view>
</template>

<script>
	export default{
		data(){
			return{ 
				list:[], 
			}
		}, 
		onLoad(e) {  
			  this.getText()
		},
		methods:{ 
			getText(){
				this.$http({
					url:"/umsContent/queryById",
					method:"get",
					data:{
						id:8
					}
				}).then(data=>{
					this.list = data.content.split(',')
				})
			},
			handleToSubmit(){
				uni.navigateTo({
					url:"./submit"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		padding: 24rpx;
		.banner{
			border-radius: 40rpx;
			overflow: hidden;
		}
		.button{
			width: 690rpx;
			height: 88rpx;
			background: #020202;
			border-radius: 50rpx;
			text-align: center;
			line-height: 88rpx;
			position: fixed;
			left: 0;
			right: 0;
			margin: 0 auto;
			bottom: 80rpx;
			color: #fff;
			font-size: 30rpx;
		}
	}
</style>